#if !defined(RESOURCERENDERTARGET_H)
#define RESOURCERENDERTARGET_H

#include "resource.h"

struct IDirect3DSurface9;
struct IDirect3DTexture9;

namespace gunsmith
{
/*! \class CResourceRenderTarget
	\brief Render target resource. */
class CResourceRenderTarget : public CResource
{
public:
						CResourceRenderTarget	();
	virtual				~CResourceRenderTarget	();
	virtual bool		Create					(void *pSource);
	virtual void		Destroy					();
	IDirect3DSurface9*	GetSurface				()				const;
	IDirect3DTexture9*	GetTexture				()				const;

protected:
	IDirect3DSurface9	*m_pSurface;
	IDirect3DTexture9	*m_pTexture;
};
};

#endif //RESOURCERENDERTARGET_H